package com.wang.controller;

import com.aaa.entity.UAddr;
import com.aaa.entity.UUserInfo;
import com.aaa.security.util.WebUtils;
import com.aaa.util.JwtUtil;
import com.aaa.vo.Result;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.wang.service.UAddrService;
import com.wang.service.UUserInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;
import java.util.Map;

/**
 * @author :  DongZheng Wang
 * @PROJECT_NAME: fifth-cai-parent
 * @date :  2023-03-06 19:59
 **/

@RestController
@RequestMapping("/commodity/goods")
public class CommodityController {
    @Autowired
    private UAddrService uAddrService;

    @RequestMapping("/getAllAddr")
    public Result getAllAdrrtest() {
        Result page = uAddrService.page();
        return new Result(2000, "Success", page);
    }

}
